package com.its.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 朱厚强
 * @since 2024年01月03日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("bus_image")
@ApiModel(value = "BusImage对象", description = "")
@Data
public class BusImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("图像路径")
    @TableField("url")
    private String url;

    @ApiModelProperty("上传人员ID(工作人员表)")
    @TableField("uploader_id")
    private String uploaderId;

    @ApiModelProperty("上传时间")
    @TableField("upload_time")
    private LocalDateTime uploadTime;

    @ApiModelProperty("0、查勘定损 1、出险及索赔申请书 2、现场查勘报告 3、技术鉴定材料定损标准 4、出险证明材料 5、分户定损及理算清单 6、理赔报告7、公示照片8、其他")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("外键(报案)")
    @TableField("report_id")
    private String reportId;

}
